const Mock = require('mockjs')

// 用户管理

// 增删改查数据
module.exports = () => {
  const data = Mock.mock({
    'list|200': [
      {
        id: '@id()',
        avatar: '@image(50x50,@color())',
        address: '@city(true)',
        'gender|+1': [0, 1],
        nickname: '@cname()',
        email: '@email()',
      },
    ],
  })
  return data
}
